package com.css.fxfzaqbz.modules.base.controller;

public class Plot {
    //  private static final String pathPre="http://10.13.155.192:8090/iserver";
    private static final String pathPre="http://10.7.208.233:8080/iserver";
    public static String getJsonString(){
        String jsonString="{   \n" +
                "\t\"layoutOptions\" : {\n" +
                "\t\t\"templateName\": \"Administrative_Active_Fault-h\",\n" +
                "\t\t\"title\": \"测试出图名称test\",\n" +
                "\t\t\"author\": \"制图单位：测试单位名称test\",\n" +
                "\t\t\"time\": \"制图时间：test\",\n" +
                "\t\t\"summaryText\": \"描述信息：比奇堡派大星派总\",\n" +
                "\t\t\"scaleBarOptions\": {\n" +
                "\t\t\t\"scaleText\": \"\",\n" +
                "\t\t\t\"type\": \"BAR\",\n" +
                "\t\t\t\"intervals\": 5,\n" +
                "\t\t\t\"unit\": \"METER\"\n" +
                "\t\t},\t \n" +
                "\t\t\"northArrowOptions\": {\n" +
                "\t\t\t\"picAsUrl\": \"file://NorthArrow.svg\"\n" +
                "\t\t},\n" +
                "\t\t\"legendOptions\": {\n" +
                "\t\t\t\"title\":\"图例\",\n" +
                "\t\t\t\"isAutoComposition\":true,\n" +
                "\t\t\t\"layers\": [\n" +
                "                {\n" +
                "                    \"url\": \""+pathPre+"/services/map-fxfzypg/rest/maps/district_boundary_china@fxfzypg\"\n" +
                "                }\n" +
                "            ]\n" +
                "        }\n" +
                "\t},\n" +
                "\t\"exportOptions\": {\n" +
                "        \"format\": \"png\",\n" +
                "        \"dpi\": 360\n" +
                "    },\n" +
                "    \"content\": {\n" +
                "        \"type\": \"WEBMAP\",\n" +
                "        \"value\": {\n" +
                "            \"extent\": {\n" +
                "                \"leftBottom\": {\n" +
                "                    \"x\": -180,\n" +
                "                    \"y\": -90\n" +
                "                },\n" +
                "                \"rightTop\": {\n" +
                "                    \"x\": 180,\n" +
                "                    \"y\": 90\n" +
                "                }\n" +
                "            },\n" +
                "            \"maxScale\": \"1:327063349.9490014\",\n" +
                "            \"level\": 1,\n" +
                "            \"center\": {\n" +
                "                \"x\": 0,\n" +
                "                \"y\": 0\n" +
                "            },\n" +
                "\t\t\t\"baseLayer\":{\n" +
                "\t\t\t\t\"layerType\":\"TILE\",\n" +
                "\t\t\t\t\"visible\":true,\n" +
                "\t\t\t\t\"name\":\"China\",\n" +
                "\t\t\t\t\"url\":\""+pathPre+"/services/map-fxfzypg/rest/maps/district_boundary_china@fxfzypg\"\n" +
                "\t\t\t},\n" +
                "            \"layers\": [{\n" +
                "                    \"layerType\": \"TILE\",\n" +
                "                    \"name\": \"China\",\n" +
                "                    \"url\": \""+pathPre+"/services/map-fxfzypg/rest/maps/district_boundary_china@fxfzypg\"\n" +
                "                }\n" +
                "            ],\n" +
                "            \"description\": \"\",\n" +
                "            \"projection\": \"EPSG:4490\",\n" +
                "            \"minScale\": \"1:327063349.9490014\",\n" +
                "            \"title\": \"test\",\n" +
                "            \"version\": \"2.3.0\"\n" +
                "        }\n" +
                "    }\n" +
                "}";
        return jsonString;
    }
}
